# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=hiprompt-gtk-py
pkgver=0_git20220616
pkgrel=0
_commit="c6cf168920db43fb5542358fcfff68aceb29db36"
pkgdesc="A GTK+ Himitsu prompter for Wayland"
url="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
arch="all"
license="GPL-3.0-or-later"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/$_commit.tar.gz"
depends="python3 py3-gobject3 gtk+3.0"
makedepends="py3-setuptools glib-dev meson ninja"
builddir="$srcdir/$pkgname-$_commit"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}


sha512sums="
f5bdc6394cec02c3671d8e0205f90aceb4955e5c99002c71c815d963624a6b82fc307c36ef1519c9c3d46f8f94ad4f59d2a1beb19dfca97cbb5b929bb03553e7  hiprompt-gtk-py-c6cf168920db43fb5542358fcfff68aceb29db36.tar.gz
"
